<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
    <title>Cors Test</title>
</head>

<body>
<input type="text" id="url_prefix" value="https://swgen2-dev.successwareg2.com/api/spike" style="width:400px">
<input type="button" id="about" value="about" onclick="getAbout()"/>
<form enctype="multipart/form-data">
    <input name="file" type="file"/>
    <input type="button" id="form" value="Upload"/>
</form>
<progress></progress>
<script>
    const imageRequest = JSON.stringify({
        bucket: "myImageBucket",
        key: "myImage.jpg",
        edits: {
            grayscale: true
        }
    });
    const url = "https://d2a9rltuf1d6pg.cloudfront.net/" + "base64URL(imageRequest)";
</script>
</body>

</html>